<!DOCTYPE html>
<html chrome_comp_test="documentls">
<head>
</head>
<body>
<script>
var xmlDoc;
if (window.ActiveXObject) {
  xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
} else {
  xmlDoc = document.implementation.createDocument('', '', null);
}
xmlDoc.async = false;

// Put chrome_comp.expectProblems and problematic statement in the same line!
chrome_comp.expectProblems('', 'SD9008'); xmlDoc.load('documentls.xml');

document.write(xmlDoc.getElementsByTagName('*')[0].tagName);
</script>
</body>
</html>
